home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
stults.arc
/
STULTS.DOC
< prev
next >
Wrap
Text File
|
1991-03-26
|
3KB
|
69 lines
Stults' BearCat
Copyright 1991 by Mark Herring
Donated into the public domain
STULTS is designed to be used with PCBoard 14.5a's new
$$LOGON.BAT feature. STULTS will search a text file containing
user files (one name per line) and if the current user's name is
matched in the file then the DOS errorlevel is set to ONE. You
can then test the errorlevel in the $$LOGON.BAT file and do
whatever task you need to perform.
You may wish to set off "warning bells" to let you know a
particular user has logged into the system. We recommend that
you take a look at the extensive sound routines available in the
Silicon Frog's Batch File Utilities - they are very distinctive
and are sure to get your attention. You may find these routines
in the file SFBUPGMS.ZIP here on "Sparky's Machine".
How to use STULTS
─────────────────
You need to create a text file using your favorite editor
containing a list of user names you are interested in
intercepting with STULTS. The user names must be one name per
line and must match the user's name *exactly*. You may list as
many user names as you wish.
You must create a $$LOGON.BAT file in your PCB system subdirectory.
This is the same subdirectory that contains the PCBOARD.SYS file
created by PCBoard. STULTS expects to find PCBOARD.SYS in the
current subdirectory. An example of $$LOGON.BAT might be:
STULTS C:\PCB\USERNAME
IF ERRORLEVEL=1 BEEP
This example loads STULTS and reads the file "C:\PCB\USERNAME".
If the current user's name was found in the file then the DOS
errorlevel was set and the speaker will beep.
Getting the most out of STULTS
──────────────────────────────
Remember that you can call STULTS more than once in the $$LOGON
batch file. You might wish to keep different user lists and
depending upon a match branch and perform a certain action.
Support for STULTS
──────────────────
STULTS has been donated into the public domain for all sysops to
use and enjoy. If you have any problems with STULTS you may
address a message to QMAIL SUPPORT in your network's Qmail
support conference.
--- Sparky
March 12th, 1991